package org.aplikator.client.rpc.impl;

import org.aplikator.client.descriptor.ViewDTO;
import org.aplikator.client.rpc.Command;

import com.google.gwt.user.client.ui.SuggestOracle;

@SuppressWarnings("serial")
public class GetSuggestions implements Command<GetSuggestionsResponse> {
    private ViewDTO view;
    private SuggestOracle.Request request;

    @SuppressWarnings("unused")
    private GetSuggestions() {
    }

    public GetSuggestions(ViewDTO view, SuggestOracle.Request req) {
        super();
        this.view = view;
        this.request = req;
    }

    public ViewDTO getView() {
        return view;
    }

    public SuggestOracle.Request getRequest() {
        return request;
    }
}
